MenuItem

fun MenuItem(onClick: () -> Unit, content: @Composable RowScope.() -> Unit)

Wrapper for handling onClick and user interaction for a dropdown MenuItem.

Parameters

onClick

Callback for when the MenuItem is clicked.

content

The content to be displayed within the MenuItem.